.address {
  background-color: #F8F8F8;
}
.seachBox {
  display: flex;
  align-items: center;
  background-color: white;
  ::v-deep .uni-searchbar {
    padding-left: 40rpx;
    padding-right: 40rpx;

    .uni-searchbar__box {
      border-radius: 34rpx !important;
      justify-content: flex-start;
    }
  }
  uni-search-bar {
    flex: auto;
  }
  .search-icon {
    width: 40rpx;
    height: 40rpx;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url();
  }
  .search-btn {
    font-weight: bold;
    font-size: 28rpx;
  }
}
.list-container {
  .scroll-view {
    width: auto;
    .cardBox{
      padding: 0 18rpx;
    }
  }
  .checkbox {
    margin-right: 50rpx;
  }
  .address-list.isChecked {
    display: flex;
    align-items: center;
    background-color: #F8F8F8;
    padding: 36rpx 0;
    padding-bottom: 0;
    padding-top: 0;
  }
  .address-item.isChecked {
    border-radius: 20rpx;
    padding: 36rpx 30rpx 0rpx;
    background: #ffffff;
    .address-item-footer {
      margin-bottom: 36rpx;
    }
  }
  .address-list {
    margin-top: 20rpx;
    background: #ffffff;
    border-radius: 20rpx;
    padding: 36rpx 30rpx 0rpx;
    padding-bottom: 30rpx;
    .address-item {
      flex: auto;
    }
    .address-name,
    .address-phone {
      display: inline-block;
      line-height: 40rpx;
    }
    .address-name {
      font-size: 32rpx;
      font-weight: 500;
      margin-right: 12rpx;
      color: #151515;
    }
    .address-phone,
    .address-address {
      color: #888;
      font-size: 28rpx;
    }
    .address-address {
      margin-top: 20rpx;
    }
    .line {
      margin-top: 31rpx;
      height: 2rpx;
      background-color: #f4f4f4;
      width: 100%;
    }
    .address-item-footer {
      display: flex;
      justify-content: space-between;
      margin-top: 23rpx;
      .save-address {
        display: flex;
        align-items: center;
        .label {
          font-size: 28rpx;
          color: #888;
          line-height: 40rpx;
        }
        .active,
        .checkbox {
          width: 40rpx;
          height: 40rpx;
          background-repeat: no-repeat;
          background-size: contain;
          margin-right: 10rpx;
        }
        .checkbox {
          background-image: url('../../static/btn-gouxuan-nor@2x.png');
        }
        .active {
          background-image: url('../../static/btn-gouxuan-sei@2x.png');
        }
      }
      .right-box {
        display: flex;
      }

      .edit-btn,
      .delete-btn {
        display: flex;
        align-items: center;
        icon {
          background: url(../../static/btn-bianji@2x.png) no-repeat;
          background-size: contain;
          width: 40rpx;
          height: 40rpx;
          margin-right: 6rpx;
        }
        text {
          font-size: 28rpx;
          color: #888;
        }
      }
      .edit-btn{
        icon{
          margin-top: 2rpx;
        }
      }
      .delete-btn {
        margin-left: 20rpx;
        icon {
          background: url(../../static/btn-shanchu2@2x.png) no-repeat;
          background-size: contain;
          width: 30rpx;
          height: 30rpx;
        }
      }
      .right-box.active {
        .edit-btn,
        .delete-btn {
          text {
            color: #dadada;
          }
        }
        .edit-btn {
          icon {
            width: 40rpx;
            height: 40rpx;
            // background: url(../../static/btn-bianji-gray.png) no-repeat;
            background-size: contain;
          }
        }
        .delete-btn {
          icon {
            width: 30rpx;
            height: 30rpx;
            // background: url(../../static/btn-shanchu-gray.png) no-repeat;
            background-size: contain;
          }
        }
      }
    }
    .address-item-footer.active {
      justify-content: flex-end;
    }
  }

  .address-footer {
    height: 160rpx;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    .manage-btn {
      width: 250rpx;
      height: 88rpx;
      border: 2rpx solid #979797;
      border-radius: 44rpx;
      color: #0f0f0f;
      text-align: center;
      line-height: 88rpx;
    }
    .addAddress-btn {
      width: 400rpx;
      height: 88rpx;
      background-color: #cccccc;
      border-radius: 44rpx;
      color: #ffffff;
      text-align: center;
      line-height: 88rpx;
      margin-left: 26rpx;
    }
    .addAddress-btn.active {
      background-color: #f74145;
    }
  }

  .all-select {
    display: flex;
    width: 100%;
    position: fixed;
    align-items: center;
    left: 0;
    bottom: 160rpx;
    height: 84rpx;
    background-color: #ffffff;
    border-bottom: 1px solid #f4f4f4;
    font-size: 24rpx;
    .checkbox {
      margin-right: 0rpx;
      margin-left: 28rpx;
    }
  }
}
.empty-box {
  padding-top: 300rpx;
  height: 61vh;
  background-color: #fff;
  image {
    width: 320rpx;
    height: 288rpx;
    display: block;
    margin: 0 auto;
  }
  view {
    font-size: 26rpx;
    line-height: 36rpx;
    margin-top: 43rpx;
    text-align: center;
  }
}

.address-popup {
  ::v-deep .uni-button-color {
    color: #f74145;
  }
  ::v-deep .uni-dialog-title {
    display: none;
  }
}
:deep(.NavBar) {
  background-color: #fff !important;
}
:deep(.uni-popup-dialog) {
  width: 556rpx;
  border-radius: 24rpx;
  .uni-dialog-content {
    padding-top: 68rpx;
    padding-bottom: 65rpx;
    font-size: 32rpx;
    color: #151515;
    letter-spacing: 0.18px;
  }
  .uni-dialog-button {
    height: 99rpx;
  }
  .uni-dialog-button-group {
    border-color: #f4f4f4;
  }
  .uni-dialog-button {
    border-color: #f4f4f4;
  }
}
